﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hu.Console
{
    public record TestRecordClass(string name, int age);

    public record TestRecordClass2(string name, int age)
    {
        public string? NickName { get; set; }

        public TestRecordClass2(string name, int age, string nickName) : this(name, age)
        {
            this.NickName = nickName;
        }
    }
}
